﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace WeiTap.Data.Core
{
    public interface IMapper
    {
        TableInfo GetTableInfo(Type entityType);
        ColumnInfo GetColumnInfo(PropertyInfo entityProperty);
        Func<object, object> GetToDbConverter(PropertyInfo sourceProperty);
        Func<object, object> GetFromDbConverter(PropertyInfo targetProperty, Type sourceType);
    }
}
